.page{
  background-color: $bg-color;
}

.head-info{
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100rpx;
  padding: 0 30rpx;
  background-color: $bg-color;
  .back{
    display: flex;
    align-items: center;
    justify-content: center;
    .image{
      width: 48rpx;
      height: 48rpx;
    }
  }
  .order-status{
    display: flex;
    flex-direction: row;
    align-items: center;
    .status{
      display: flex;
      flex-direction: row;
      align-items: center;
      .image{
        width: 38rpx;
        height: 38rpx;
        margin-right: 10rpx;
      }
      .text{
        font-size: 38rpx;
        font-weight: bold;
        color: $text-color;
      }
    }
  }
  .more{
    display: flex;
    align-items: center;
    .image{
      width: 48rpx;
      height: 48rpx;
    }
  }
}

/*地址*/
.address-info{
  margin: 0 30rpx 30rpx;
  padding: 30rpx;
  background-color: $bg-back-color;
  border-radius: 20rpx;
  .name-phone{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10rpx;
    .icon{
      width: 28rpx;
      height: 28rpx;
      margin-right: 10rpx;
    }
    .name{
      font-weight: bold;
      font-size: 28rpx;
      color: $text-color;
      margin-right: 10rpx;
    }
    .phone{
      font-size: 26rpx;
      color: $text-assist-color;
    }
  }
  .address{
    display: flex;
    flex-direction: row;
    .text{
      font-size: 26rpx;
      color: $text-assist-color;
    }
  }
}

/*店铺商品信息*/
.shop-goods{
  margin-left: 30rpx;
  margin-right: 30rpx;
  margin-bottom: 20rpx;
  padding: 0 30rpx;
  background-color: $bg-back-color;
  border-radius: 20rpx;
  .shop-info{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 100rpx;
    .tag-item{
      display: flex;
      flex-direction: row;
      align-items: center;
      margin-right: 10rpx;
      .tag{
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rpx 10rpx;
        margin-top: 2px;
        background-color: $base;
        border-radius: 6rpx;
        .text{
          font-size: 22rpx;
          color: $text-back-color;
        }
      }
    }
    .shop-name{
      display: flex;
      flex-direction: row;
      align-items: center;
      .text{
        font-size: 28rpx;
        font-weight: bold;
        color: $text-color;
      }
      .image{
        width: 38rpx;
        height: 38rpx;
      }
    }
  }
  .goods-list{
    width: 100%;
    .list{
      display: flex;
      flex-direction: row;
      align-items: center;
      width: 100%;
      height: 140rpx;
      margin-bottom: 20rpx;
      .pic{
        display: flex;
        align-items: center;
        margin-right: 20rpx;
        .image{
          width: 140rpx;
          height: 140rpx;
        }
      }
      .goods{
        flex: 1;
        height: 100%;
        .name-price{
          display: flex;
          flex-direction: row;
          align-items: center;
          .name{
            flex: 1;
            height: 40rpx;
            white-space: nowrap;
            text-overflow: ellipsis;
            font-size: 28rpx;
            color: $text-color;
          }
          .price{
            font-size: 28rpx;
            font-weight: bold;
            color: $text-color;
          }
        }
        .attr-number{
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: space-between;
          width: 100%;
          .text{
            font-size: 26rpx;
            color: $text-assist-color;
          }
        }
        .btn-info{
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: flex-end;
          width: 100%;
          margin-top: 10rpx;
          .btn{
            display: flex;
            align-items: center;
            justify-content: center;
            width: 140rpx;
            height: 50rpx;
            border: 1px solid $text-assist-color;
            border-radius: 40rpx;
            .text{
              font-size: 24rpx;
              color: $text-color;
            }
          }
        }
      }
    }
  }
  .shop-service{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100rpx;
    border-top: 1px solid $bg-color;
    .service{
      display: flex;
      align-items: center;
      justify-content: center;
      .text{
        font-size: 28rpx;
        color: $text-color;
      }
    }
  }
}

/*订单信息*/
.order-info{
  margin-left: 30rpx;
  margin-right: 30rpx;
  margin-bottom: 20rpx;
  padding: 0 30rpx;
  background-color: $bg-back-color;
  border-radius: 20rpx;
  .item{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 80rpx;
    .title{
      display: flex;
      align-items: center;
      .text{
        font-size: 28rpx;
        color: $text-color;
      }
    }
    .assist{
      display: flex;
      align-items: center;
      .text{
        font-size: 28rpx;
        color: $text-assist-color;
      }
    }
    .price{
      display: flex;
      align-items: center;
      .text{
        font-size: 28rpx;
        font-weight: bold;
        color: $text-color;
      }
      .ac{
        font-size: 28rpx;
        font-weight: bold;
        color: red;
      }
    }
    .content{
      display: flex;
      flex-direction: row;
      align-items: center;
      .text{
        font-size: 28rpx;
        color: $text-color;
      }
    }
  }
  .total-price{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 100rpx;
    .sub-price{
      display: flex;
      flex-direction: row;
      align-items: flex-end;
      margin-top: 10rpx;
      margin-right: 10rpx;
      .text{
        font-size: 26rpx;
        font-weight: bold;
        color: red;
      }
    }
    .price{
      display: flex;
      flex-direction: row;
      align-items: flex-end;
      .tit{
        font-size: 28rpx;
        color: $text-color;
      }
      .min{
        font-size: 24rpx;
        font-weight: bold;
        color: $text-color;
      }
      .max{
        font-size: 38rpx;
        font-weight: bold;
        color: $text-color;
      }
    }
  }
}

/*底部*/
.footer-info{
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100rpx;
  padding: 0 30rpx;
  background-color: $bg-back-color;
  .more{
    display: flex;
    align-items: center;
    justify-content: center;
    .text{
      font-size: 28rpx;
      color: $text-color;
    }
  }
  .order-btn{
    display: flex;
    flex-direction: row;
    align-items: center;
    .btn{
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      width: 160rpx;
      height: 60rpx;
      margin-left: 20rpx;
      border: 1px solid $text-assist-color;
      border-radius: 40rpx;
      .text{
        font-size: 28rpx;
        color: $text-color;
      }
    }
    .active{
      background-color: $base;
      border: none;
      .text{
        font-size: 28rpx;
        color: $text-back-color;
      }
    }
  }
}
